package innerclasses;

public class Parcel4 {

	public Parcel4() {
		// TODO 自动生成的构造函数存根
	}

	private class PContents implements Contents{
		private int i=11;
		
		@Override
		public int value() {
			return i;
		}
		
		
	}
	
	protected final class PDestnation implements Destination{
		private String label;
		public PDestnation(String s) {
			// TODO 自动生成的构造函数存根
		}
		private void PDestination(String whereTo) {
			label = whereTo;
		}
		@Override
		public String readLabel() {
			return label;
		}
	}
	
	public Destination destination(String s) {
		return new PDestnation(s);
	}
	public Contents contents() {
		return new PContents();
	}
	
	
	
}
